home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
010
/
fcon200f.arc
/
IBMMODE.320
< prev
next >
Wrap
Text File
|
1986-11-11
|
2KB
|
63 lines
A
; This is file: IBMMODE.320
;
; This is a patch file for the IBM-DOS 3.20 MODE command.
;
; To use this file:
; DEBUG MODE.COM <IBMMODE.320
A1606
;Patch 0001:
;Recognize no resident MODE when someone else chgs INT 1D.
;Allow MODE command to shift screen.
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:1606 8B1E7600 MOV BX,[0076]
;xxxx:160A 81FB00F0 CMP BX,F000
;With:
;xxxx:1606 8B1E3005 MOV BX,[0530]
;xxxx:160A 21DB AND BX,BX
;xxxx:160C 90 NOP
;xxxx:160D 90 NOP
MOV BX,[0530]
AND BX,BX
NOP
NOP
A162E
;Patch 0002:
;Recognize no resident MODE when someone else chgs INT 1D.
;Allow MODE command to shift screen.
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:162E 8BF8 MOV DI,AX
;xxxx:1630 2EA1CB02 MOV AX,CS:[02CB]
;xxxx:1634 8EC0 MOV ES,AX
;xxxx:1636 8B367400 MOV SI,[0074]
;xxxx:163A 893E7400 MOV [0074],DI
;With:
;xxxx:162E C4367400 LES SI,[0074]
;xxxx:1632 8CC3 MOV BX,ES
;xxxx:1634 2E8E06CB02 MOV ES,CS:[02CB]
;xxxx:1639 A37400 MOV [0074],AX
;xxxx:163C 89C7 MOV DI,AX
LES SI,[0074]
MOV BX,ES
CS: MOV ES,[02CB]
MOV [0074],AX
MOV DI,AX
A164A
;Patch 0003:
;Recognize no resident MODE when someone else chgs INT 1D.
;Allow MODE command to shift screen.
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:164A 50 PUSH AX
;With:
;xxxx:164A 06 PUSH ES
PUSH ES
W
Q